package com.ipc.app.sheduler.task.impl;

import org.apache.log4j.Logger;

import com.ipc.app.sheduler.task.IPCTask;

public abstract class AbstractIPCTask implements IPCTask {
	private static final Logger logger = Logger
			.getLogger(AbstractIPCTask.class);

	public void run() {
		try {
			this.execute();
		} catch (Exception e) {
			logger.error("定时执行失败", e);
			e.printStackTrace();
		}
	}

}
